<?php
	require_once "../db/mysql/tbr.php";
	require_once "../classes/forms.cls.php";
	require_once "../conf/config.php";
	
	
	/****  CONNECTION TO RDBMS SERVER ****/	
	require_once "../db/mysql/tbr.ini.php";
	/***********************************/
	
	$form = new svq_form();
	$form = new svq_form();
	$formTable = 'svq_forms';
	$lineTable = 'svq_line';
	$formLineTable = 'svq_forms_line';
	$totallines = $_REQUEST['total'];
	
	//let's get the line id	
	$__formLineIndex = substr($_REQUEST['cpb'],3,strlen($_REQUEST['cpb']));	
	$lineId          = $_REQUEST['dblid'.$__formLineIndex] ;
	
	$___ = $form->deteleLine($base,$lineTable,$lineId);  //let's
	if($___){ $____ = $form->deleteFormLineJoin2($base,$formLineTable,$lineId); echo 1;}
	else echo $lineId.'#'.$__formLineIndex;
	
	
	
	
	//echo $_REQUEST['s'];
?>